package com.xiyoukt.springboot;

import java.util.List;

public class Person {

    private String name;

    // 0：男，1：女
    private Integer gender;

    private Float height;

    private List<String> hobbys;

    public Person() {
    }

    public Person(String name, Integer gender, Float height, List<String> hobbys) {
        this.name = name;
        this.gender = gender;
        this.height = height;
        this.hobbys = hobbys;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Float getHeight() {
        return height;
    }

    public void setHeight(Float height) {
        this.height = height;
    }

    public List<String> getHobbys() {
        return hobbys;
    }

    public void setHobbys(List<String> hobbys) {
        this.hobbys = hobbys;
    }
}
